package cate.game.stat;

import cate.game.GameBody;

public class GameCT {

    public String version;

    public int srvId;

    public String srvName;

    public int activeNum;

    public int onlineNum;

    public int ccNum;

    public String note = "loginCheck:stat.disabled.menu";

    public GameCT init(GameBody game) {
        this.version = GameBody.version();
        this.srvId = game.config.srvId;
        this.srvName = game.config.gs.getName();
        this.activeNum = game.role.getActiveNum();
        this.onlineNum = game.role.getOnlineNum();
        this.ccNum = game.client.contextHolder.cid_cc_map.size();
        return this;
    }

}
